$('.pane3').html("<%= escape_javascript(render :partial => 'tasks/form') %>")
window.location = '#pane3'